﻿<AvalonDock:DocumentContent x:Class="Dispatcher.Views.AdminToolsView"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"                    
                            xmlns:AvalonDock="clr-namespace:AvalonDock;assembly=AvalonDock"
                            xmlns:Views="clr-namespace:Dispatcher.Views" 
                            Title="AdminToolsView" Height="300" Width="500">
    <Grid>
        <StackPanel Orientation="Vertical">
            <StackPanel Orientation="Horizontal" Width="Auto" Height="Auto">
                <Button Margin="5" Width="100" Click="AddButton_Click">Добавить</Button>
                <Button Margin="5" Width="100" Click="EditButton_Click">Редактировать</Button>
            </StackPanel>
            <Views:CommonListView Width="600" Height="400" x:Name="ListView" HorizontalAlignment="Left"/>
        </StackPanel>
        
    </Grid>
</AvalonDock:DocumentContent>
